package com.sims.bean;

/**
 * Class entity. @author MyEclipse Persistence Tools
 */

public class Class implements java.io.Serializable {

	// Fields

	private Integer cid;
	private String name;
	private Integer grade;
	private String classroom;
	private Integer tid;

	// Constructors

	/** default constructor */
	public Class() {
	}

	/** full constructor */
	public Class(String name, Integer grade, String classroom, Integer tid) {
		this.name = name;
		this.grade = grade;
		this.classroom = classroom;
		this.tid = tid;
	}

	// Property accessors

	public Integer getCid() {
		return this.cid;
	}

	public void setCid(Integer cid) {
		this.cid = cid;
	}

	public String getName() {
		return this.name;
	}

	public void setName(String name) {
		this.name = name;
	}

	public Integer getGrade() {
		return this.grade;
	}

	public void setGrade(Integer grade) {
		this.grade = grade;
	}

	public String getClassroom() {
		return this.classroom;
	}

	public void setClassroom(String classroom) {
		this.classroom = classroom;
	}

	public Integer getTid() {
		return this.tid;
	}

	public void setTid(Integer tid) {
		this.tid = tid;
	}

}